import request from '@/utils/request'

// 查询门店评价季度列表
export function listQuarter(query) {
  return request({
    url: '/xdstore/quarter/list',
    method: 'get',
    params: query
  })
}

// 查询门店评价季度详细
export function getQuarter(id) {
  return request({
    url: '/xdstore/quarter/' + id,
    method: 'get'
  })
}

// 新增门店评价季度
export function addQuarter(data) {
  return request({
    url: '/xdstore/quarter',
    method: 'post',
    data: data
  })
}

// 修改门店评价季度
export function updateQuarter(data) {
  return request({
    url: '/xdstore/quarter',
    method: 'put',
    data: data
  })
}

// 删除门店评价季度
export function delQuarter(id) {
  return request({
    url: '/xdstore/quarter/' + id,
    method: 'delete'
  })
}

// 导出门店评价季度
export function exportQuarter(query) {
  return request({
    url: '/xdstore/quarter/export',
    method: 'get',
    params: query
  })
}